﻿#include "CmdCreateTableWidget.h"
#include <QFile>
#include <QDebug>
#include "BaseModule/IBaseSignal.h"
#include "PostCommandPy.h"
#include <iostream>

namespace PostCommand
{
    CmdCreateTableWidget::CmdCreateTableWidget()
        : CommandBase()
    {
        this->initCmdName();
    }
    CmdCreateTableWidget::~CmdCreateTableWidget()
    {
    }

    bool CmdCreateTableWidget::execute()
    {
        bool _success = false;
        emit IBaseSignalInstance->signal_sendTableWidgetData(m_readerIndex);
        return _success;
    }

    void CmdCreateTableWidget::undo()
    {
    }

    void CmdCreateTableWidget::redo()
    {
        // execute();
    }

} // namespace PostCommand
